<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
<head>
<title>供应商列表</title>
<%@ include file="/WEB-INF/jsp/public/commons.jspf"%>
</head>
<body>

	<div id="Title_bar">
		<div id="Title_bar_Head">
			<div id="Title_Head"></div>
			<div id="Title">
				<!--页面标题-->
				<img border="0" width="13" height="13"
					src="${pageContext.request.contextPath}/style/images/title_arrow.gif" />
				供应商管理
			</div>
			<div id="Title_End"></div>
		</div>
	</div>
	
	<!-- 查询 -->
	<div id="QueryArea">
		<div style="height: 50px" >
		<%--处理分类查询和模糊查询表单--%>
			<s:form action="supplier_Searchlist">
				<table >
					<tr>
				    <td>供应商名称模糊查询：</td>
				     <td>
				     <input type="text" id="noticename" name="Searchname" value="${Searchname}"/>
				     </td>
				<td>
				<input type="IMAGE" src="${pageContext.request.contextPath}/style/blue/images/button/query.PNG"/>
				</td>
					</tr>
				</table>
			</s:form>
		</div>
	</div>
	

	<div id="MainArea">
		<table cellspacing="0" cellpadding="0" class="TableStyle">

			<!-- 表头-->
			<thead>
				<tr align=center valign=middle id=TableTitle>
					<td width="200">名称</td>
					<td width="200">地址</td>
					<td width="200">电话号码</td>
					<td>相关操作</td>
				</tr>
			</thead>

			<!--显示数据列表-->
			<tbody id="TableData" class="dataContainer" datakey="userList">

				<s:iterator value="recordList">
					<tr align="center" valign="middle" class="TableDetail1 template">
						<td>${name}&nbsp;</td>
						<td>${address}&nbsp;</td>
						<td>${phoneNumber}&nbsp;</td>
						<td><s:a action="supplier_editUI?id=%{id}">修改</s:a> <s:a
								action="supplier_delete?id=%{id}" onclick="javascript:return confirm('确定要解除合约？')">解除合约</s:a>
						</td>
					</tr>
				</s:iterator>

			</tbody>
		</table>

		<!-- 其他功能超链接 -->
		<div id="TableTail">
			<div id="TableTail_inside">
				<s:a action="supplier_addUI">
					<img
						src="${pageContext.request.contextPath}/style/images/createNew.png" />
				</s:a>
			</div>
		</div>
	</div>

	<!-- 分页信息 -->
	<%@ include file="/WEB-INF/jsp/public/pageView.jspf"%>
	<s:form action="supplier_list"></s:form>


</body>
</html>
